package io.shallwe.common.config;

import com.jfinal.config.Routes;

import io.shallwe.front.EnterController;
import io.shallwe.front.ExitController;
import io.shallwe.index.IndexController;
import io.shallwe.login.LoginController;

public class FrontRoutes extends Routes {

	public void config() {
		setBaseViewPath("/_view");
		add("/", IndexController.class, "/index");
		add("/login", LoginController.class);
		add("/tvin",EnterController.class,"dashboard");
		add("/enter",EnterController.class,"dashboard");
		
		add("/tvout",ExitController.class,"dashboard");
		add("/exit",ExitController.class,"dashboard");
	}
}